<template>
  <div id="yjfk">
    <h3>意见反馈</h3>
    <textarea placeholder="请输入您的意见我们将期待与您共同成长" v-model="msg">
    </textarea>
    <div class="sub">
      <span class="cancel" @click="cancel">取消</span>
      <span class="tj" @click="tj">提交</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'yjfk',
  data() {
    return {
      msg: '',
    };
  },
  methods: {
    cancel() {
      this.msg = '';
      console.log('hkk');
    },
    tj() {
      console.log('tj');
    },
  },
};
</script>

<style scoped>
#yjfk {
  margin-left: 40px;
}
#yjfk h3 {
  margin-top: 20px;
  font-size: 18px;
  color: #333;
  font-weight: normal;
}
textarea {
  width: 900px;
  height: 426px;
  resize: none;
  margin-top: 60px;
  border: 1px solid #d9d9d9;
  padding: 10px;
}
.sub {
  width: 100%;
  text-align: center;
}
.sub span {
  width: 148px;
  height: 48px;
  border-radius: 5px;
  color: #fff;
  line-height: 48px;
  font-size: 20px;
  display: inline-block;
  margin-top: 40px;
  cursor: pointer;
}
.cancel {
  margin-right: 98px;
  background-color: #999;
}
.tj {
  background-color: #f08200;
}
</style>
